package com.bootdo.payee.dao;

import com.bootdo.payee.domain.PassagewayDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PassagewayDao {

    List<PassagewayDO> userPassagewayList (PassagewayDO passageway);

    int update (PassagewayDO passageway);

    int closeUserOtherAllpassageway (PassagewayDO passageway);

    int passagewaySave (PassagewayDO passageway);

    int passagewayDelete (PassagewayDO passageway);

    int queryUserPassagewayName (PassagewayDO passageway);

    PassagewayDO getPassageOk(Long userId);

    /**
     * 功能描述:获取用户通道
     * @param passageway
     * @Return:
     * @Author: Gao Wei
     * @Date: 2020/2/14 18:35
     */
    List<PassagewayDO> userPassagewayListByJoin(PassagewayDO passageway);


}
